package cloud.maque.admin.domain.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 4color
 * @description mq_enum_group
 * @date 2023-03-17
 */
@Data
public class MqEnumGroup implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    /**
     * enum_group_id
     */
    private String enumGroupId;

    /**
     * enum_group_name
     */
    private String enumGroupName;

    /**
     * enum_group_code
     */
    private String enumGroupCode;

    /**
     * enum_group_order
     */
    private Integer enumGroupOrder;

    /**
     * create_at
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createAt;

    /**
     * update_at
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateAt;

    /**
     * tenant_id
     */
    private String tenantId;

    public MqEnumGroup() {
    }
}
